package com.example.mybaiduweishi.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.widget.LinearLayout;

import com.example.mybaiduweishi.R;
import com.example.mybaiduweishi.activity.base.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

public class ProtectionFamilyActivity extends BaseActivity {


    @BindView(R.id.toolbar_family_pro)
    Toolbar toolbar;
    @BindView(R.id.layout_onekey_help)
    LinearLayout helpOnekeyHelp;
    @BindView(R.id.layout_police_now)
    LinearLayout layoutPoliceNow;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        setSupportActionBar(toolbarFamily);
//        ActionBar actionBar = getSupportActionBar();
//        actionBar.setDisplayHomeAsUpEnabled(true);
        toolbar.setTitle("");
        setSupportActionBar(toolbar);
        ActionBar actionBar = getSupportActionBar();
        actionBar.setDisplayHomeAsUpEnabled(true);
    }

    @Override
    public int getContentXML() {
        return R.layout.activity_protection_family;
    }

    @Override
    public void initData() {

    }

    @Override
    public void initView() {

    }

    @OnClick(R.id.layout_onekey_help)
    public void onViewClicked() {
        startActivity(new Intent(this,OneKeySOSActivity.class));

    }
}
